package com.wanmait.wisdom.web.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.PageInfo;
import com.wanmait.wisdom.entity.Car;
import com.wanmait.wisdom.mapper.CarMapper;
import com.wanmait.wisdom.web.service.WebCarService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.Date;

@Service
@Transactional(rollbackFor = Exception.class)
public class WebCarServiceImpl extends ServiceImpl<CarMapper,Car> implements WebCarService  {
    @Resource
    private CarMapper carMapper;

    @Override
    public void insertCar(Car car) {

    }

    @Override
    public PageInfo<Car> selectAllCar(Car car, Date startTime, Date endTime, Integer pageNum, Integer pageSize) {
        return null;
    }

    @Override
    public Car selectById(Integer id) {
        return null;
    }
}
